package com.rongke.mapper;

import com.rongke.model.PanicBuyingGoods;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.rongke.model.PanicBuyingGoodsCombineGoods;

import java.util.List;
import java.util.Map;

/**
 * @PanicBuyingGoodsMapper
 * @商品抢购Mapper
 * @version : Ver 1.0
 */
public interface PanicBuyingGoodsMapper extends BaseMapper<PanicBuyingGoods>{
    /**
     * 根据抢购时间获取抢购商品列表
     *
     */
    List<PanicBuyingGoods> selectIndexPanicBuyingGoodsList(Long pbtId);

    List<PanicBuyingGoodsCombineGoods> selectLimitedPGListByDurationId(Map map);
}
